import { createApp } from 'vue';
import App from './App.vue';
import 'amfe-flexible';
import {
    ActionBar,
    ActionBarButton,
    ActionBarIcon, AddressEdit, AddressList,
    Button, Card,
    Checkbox,
    CheckboxGroup, ContactCard, Dialog, Field, Form,
    Icon,
    Stepper, SubmitBar,
    Tab,
    Tabs,
    Toast,
    TreeSelect
} from 'vant';
import  router from './router/index';
import './common/base.less';
import store from './store'

const app = createApp(App);
app
    .use(store)
    .use(router)
    .use(Form)
    .use(Field)
    .use(Button)
    .use(AddressList)
    .use(AddressEdit)
    .use(Dialog)
    .use(Card)
    .use(Icon)
    .use(Toast)
    .use(Tab)
    .use(Tabs)
    .use(TreeSelect)
    .use(Stepper)
    .use(ActionBarButton)
    .use(ActionBarIcon)
    .use(ActionBar)
    .use(Checkbox)
    .use(SubmitBar)
    .use(ContactCard)
    .use(CheckboxGroup);

app.mount('#app');

